package com.example.service;

import com.example.dao.CityAreaDao;
import com.example.entity.CityArea;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class CityAreaService {

    @Autowired
    CityAreaDao cityAreaDao;

    public List<CityArea> getAll(){
       return this.cityAreaDao.getAll();
    }
}
